/*
 * @Author: your name
 * @Date: 2021-08-10 20:06:09
 * @LastEditTime: 2021-08-28 15:30:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \familyDoctor\doctor\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

//引入Element UI组件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
//引入axios
//导入封装的axios文件（自动添加，存储token）
import axios from "./http/axios.js";
Vue.prototype.axios = axios;
//导入QS库，用于转换请求的参数
import qs from 'qs';
Vue.prototype.qs=qs;

// axios.defaults.baseURL='http://172.16.8.6:8082/admin';//张

// axios.defaults.baseURL='http://172.16.8.73:8082/admin';
Vue.prototype.axios = axios
Vue.prototype.staticURL = 'http://49.235.240.193:8080/admin';
axios.defaults.baseURL = 'http://49.235.240.193:8080/admin'

// Vue.prototype.axios = axios
// Vue.prototype.staticURL = 'http://49.235.240.193:8080/admin'

//注册全局组件
Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
